package com.ch.engine.design.factory.methodFactory;

import com.ch.engine.design.factory.simpleFactory.IPhone;
import com.ch.engine.design.factory.simpleFactory.Phone;

/**
 * AppleFactory类：生产苹果手机的工厂（ConcreteFactory2）
 */
public class AppleFactory implements AbstractFactory {
    @Override
    public Phone makePhone() {
        return new IPhone();
    }
}